package com.ruoyi.uav.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.uav.domain.UavTaskSteps;
import com.ruoyi.uav.mapper.UavTaskStepsMapper;
import com.ruoyi.uav.service.IUavTaskStepsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 任务流程记录Service业务层处理
 *
 * @author ruoyi
 * @date 2024-06-07
 */
@Service
public class UavTaskStepsServiceImpl extends ServiceImpl<UavTaskStepsMapper, UavTaskSteps> implements IUavTaskStepsService {
    @Resource
    private UavTaskStepsMapper uavTaskStepsMapper;


    /**
     * 查询任务流程记录列表
     *
     * @param uavTaskSteps 任务流程记录
     * @return 任务流程记录
     */
    @Override
    public List<UavTaskSteps> selectUavTaskStepsList(UavTaskSteps uavTaskSteps) {
        return uavTaskStepsMapper.selectUavTaskStepsList(uavTaskSteps);
    }

    @Override
    public UavTaskSteps getInfo(Long id) {
        return uavTaskStepsMapper.getInfo(id);
    }

}
